import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        String str=sc.nextLine();
        double x=sc.nextInt();
        double y=sc.nextInt();
        double result=sc.nextInt();
        if(str=="+"){
            System.out.println(""+x+str+y+"=");
            if(x+y==result){
                System.out.println("正确！");
            }else{
                System.out.println("错误！");
            }
        }else if(str=="-"){
            System.out.println(""+x+str+y+"=");
            if(x-y==result){
                System.out.println("正确！");
            }else{
                System.out.println("错误！");
            }
        }else if(str=="*"){
            System.out.println(""+x+str+y+"=");
            if(x*y==result){
                System.out.println("正确！");
            }else{
                System.out.println("错误！");
            }
        }else if(str=="/"){
            System.out.println(""+x+str+y+"=");
            if(x/y==result){
                System.out.println("正确！");
            }else{
                System.out.println("错误！");
            }
        }else{
            System.out.println("输入错误，请重新输入：");
        }
    }
}